
package com.hlkj.pay.vo.merchant.req.report;

import com.hlkj.pay.vo.BaseReq;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 商户代付详情
 * 
 * @TableName t_merchant_payment_detail
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MerchantPaymentConfigMappingReq extends BaseReq {

    @Schema(description = "关联id")
    @NotNull(message = "关联id 不能为空")
    private String relationId;
    @Schema(description = "关联类型 2 报备")
    @NotNull(message = "关联类型 不能为空")
    private Integer relationType;

    @Schema(description = "账号code")
    @NotNull(message = "账号 code 不能为空")
    private String accountCode;

    /**
     * 金额比例
     */
    @Schema(description = "金额 新增/更新必传 删除不传")
    private String payAmount;

}
